package com.ruoyi.system.api.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;
import java.util.Date;

public class TeachTraceAddAndUpdateDto implements Serializable {
    private static final long serialVersionUID = 11L;
    /** 教学追踪ID */
    private Long id;

    /** 学生ID */
    @Excel(name = "学生ID")
    private Long studentId;

    /** 班级ID */
    @Excel(name = "班级ID")
    private Long classId;

    /** 班级名称 */
    @Excel(name = "班级名称")
    private String className;

    /** 学生姓名 */
    @Excel(name = "学生姓名")
    private String studentName;

    /** 学生类型 */
    @Excel(name = "学生类型")
    private String type;

    /** 扣分 */
    @Excel(name = "扣分")
    private Long deduction;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date traceTime;

    /** 跟踪次数 */
    @Excel(name = "跟踪次数")
    private Long traceTimes;

    /** 跟踪老师 */
    @Excel(name = "跟踪老师")
    private String traceTeacher;

    /** 描述 */
    @Excel(name = "描述")
    private String descrition;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setStudentId(Long studentId)
    {
        this.studentId = studentId;
    }

    public Long getStudentId()
    {
        return studentId;
    }
    public void setClassId(Long classId)
    {
        this.classId = classId;
    }

    public Long getClassId()
    {
        return classId;
    }
    public void setClassName(String className)
    {
        this.className = className;
    }

    public String getClassName()
    {
        return className;
    }
    public void setStudentName(String studentName)
    {
        this.studentName = studentName;
    }

    public String getStudentName()
    {
        return studentName;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }
    public void setDeduction(Long deduction)
    {
        this.deduction = deduction;
    }

    public Long getDeduction()
    {
        return deduction;
    }
    public void setTraceTime(Date traceTime)
    {
        this.traceTime = traceTime;
    }

    public Date getTraceTime()
    {
        return traceTime;
    }
    public void setTraceTimes(Long traceTimes)
    {
        this.traceTimes = traceTimes;
    }

    public Long getTraceTimes()
    {
        return traceTimes;
    }
    public void setTraceTeacher(String traceTeacher)
    {
        this.traceTeacher = traceTeacher;
    }

    public String getTraceTeacher()
    {
        return traceTeacher;
    }
    public void setDescrition(String descrition)
    {
        this.descrition = descrition;
    }

    public String getDescrition()
    {
        return descrition;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("studentId", getStudentId())
                .append("classId", getClassId())
                .append("className", getClassName())
                .append("studentName", getStudentName())
                .append("type", getType())
                .append("deduction", getDeduction())
                .append("traceTime", getTraceTime())
                .append("traceTimes", getTraceTimes())
                .append("traceTeacher", getTraceTeacher())
                .append("descrition", getDescrition())
                .toString();
    }
}
